Gpu Performance Optimization